<template>
 <div>
    <div class="front">
        <upload :imageUrl="form.front" @upload-success="handleSuccess"></upload>
    </div>
    <div class="back">
        <upload :imageUrl="form.back" @upload-success="handleSuccess"></upload>
    </div>
    <div class="submit">
        <el-button type="primary" @click="submit">提交</el-button>
    </div>
</div>
</template>
<script setup lang='ts'>
import { ref, reactive } from 'vue'
import upload from "@/components/upload.vue"
const form = reactive({
    front: '',
    back: ''
})
const submit=()=>
{
    console.log(form)
}
</script>


<style lang='scss' scoped>

</style>